package com.wuhunyu.commonutils.query;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;

/**
 * 公共查询类
 *
 * @author wuhunyu
 * @version 1.0
 * @date 2021-01-13 10:48
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommonQuery implements Serializable {

    /**
     * 当前页
     */
    public Integer current;

    /**
     * 每一页的记录数，给一个默认值为 10
     */
    public Integer limit = 10;

}
